FROM java:8
VOLUME /tmp
ADD ./dean-community.jar /dean-community.jar
RUN bash -c 'touch /dean-community.jar'
EXPOSE 8006
ENTRYPOINT ["java","-jar","-Dspring.profiles.active=test","/dean-community.jar"]